package com.zhdl.modules.demo.DCHTProcess;

//import com.zhdl.modules.common.test.ProcessDo;
import com.zhdl.common.util.BeanUtils;
import com.zhdl.hardware_contact.hardware_web.service.ProcessSportService;
import com.zhdl.modules.process.common.ProcessDo;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class CylinderControlDo implements ProcessDo {
    private String  name;
    private boolean open;
    public CylinderControlDo(String name,boolean open){
        this.name = name;
        this.open = open;
    }



    @Override
    public void doSomeThing() {
//        ProcessSportService processSportService = BeanUtils.getBean("ProcessSportService");
      //  processSportService.HardwareCylinderSwitches(this.name,this.open);
        log.info("CylinderControlDo-"+name+"气缸控制"+open);
    }
}
